Module-level declarations
Types
Link copied to clipboard
entity community_quest
Link copied to clipboard
object community_quest_config
Link copied to clipboard
entity community_quest_group
Link copied to clipboard
struct community_quest_info
Link copied to clipboard
entity ft3_contribution
Link copied to clipboard
struct ft3_contribution_info
Link copied to clipboard
entity ft3_reward
Link copied to clipboard
struct ft3_reward_info
Link copied to clipboard
Link copied to clipboard
struct milestone_info
Link copied to clipboard
entity original_contribution
Link copied to clipboard
struct original_contribution_info
Link copied to clipboard
entity original_reward
Link copied to clipboard
struct original_reward_info
Link copied to clipboard
struct player_with_milestone
Link copied to clipboard
enum quest_status
Link copied to clipboard
enum quest_type
Link copied to clipboard
entity required_ft3_asset
Link copied to clipboard
struct required_ft3_info
Link copied to clipboard
entity required_original_asset
Link copied to clipboard
struct required_original_info
Link copied to clipboard
entity unclaimed_reward
Functions
Link copied to clipboard
Link copied to clipboard
function check_previous_milestones_completed(community_quest: community_quest, target_milestone: milestone)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function get_all_contributions_from_player_for_quest(quest: community_quest, player: player): integer
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function handle_ft3_contribution(community_quest: community_quest, milestone: milestone, asset: text, amount: integer, auth_descriptor_id: byte_array, player_: player)
Link copied to clipboard
Link copied to clipboard
function handle_original_contribution(community_quest: community_quest, milestone: milestone, required_asset: required_original_asset, interface: text, original_id: byte_array?, amount: integer, player_: player)
Link copied to clipboard
Queries
Link copied to clipboard
@mount("community_quests.get_all_community_quests")
query get_all_community_quests(): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_community_quest_configs")
query get_community_quest_configs(): (enabled: boolean,)
Link copied to clipboard
@mount("community_quests.get_linked_quests_by_group_id")
query get_linked_quests_by_group_id(group_id: text): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_ongoing_community_quests")
query get_ongoing_community_quests(): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_participating_quests")
query get_participating_quests(player: player): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_participating_voting_quest_for_player")
query get_participating_voting_quest_for_player(account_id: byte_array, group_id: text): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_players_with_unclaimed_rewards")
query get_players_with_unclaimed_rewards(): list<(byte_array, text)>
Link copied to clipboard
@mount("community_quests.get_quests_info_by_id")
query get_quests_info_by_id(quest_ids: list<text>): list<community_quest_info>
Link copied to clipboard
@mount("community_quests.get_unclaimed_rewards")
query get_unclaimed_rewards(account_id: byte_array): list<(quest_id: text, milestone_index: integer)>
Operations
Link copied to clipboard
@mount("community_quests.admin_claim_reward")
operation admin_claim_reward(account_ids: list<byte_array>)
Link copied to clipboard
@mount("community_quests.claim_all_reward")
operation claim_all_reward(quest_id: text, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("community_quests.claim_reward_by_milestone")
operation claim_reward_by_milestone(quest_id: text, milestone_index: integer, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("community_quests.delete_community_quest")
operation delete_community_quest(community_quest_id: text)
Link copied to clipboard
@mount("community_quests.make_contribution")
operation make_contribution(quest_id: text, milestone_index: integer, ft3_assets: list<ft3_contribution_info>, original_assets: list<original_contribution_info>, account_id: byte_array, auth_descriptor_id: byte_array)
Link copied to clipboard
@mount("community_quests.register_community_quest")
operation register_community_quest(name: text, group_id: text, milestones: list<milestone_info>, linked_quest_type: text)
Link copied to clipboard
@mount("community_quests.remove_rewards_from_milestone")
operation remove_rewards_from_milestone(community_quest_id: text, milestone_index: integer)
Link copied to clipboard
@mount("community_quests.set_global_community_quest_parameters")
operation set_global_community_quest_parameters(enabled: boolean)
Link copied to clipboard